<script>xoops_url="<{$xoops_url}>";</script>
<script src="<{$xoops_url}>/modules/xanhte/js/lib/prototype.js"></script>
<script src="<{$xoops_url}>/modules/xanhte/js/admanage.js"></script>

<h3><{$smarty.const._MI_AD_AD_MANAGE}></h3>
<br>
<div class="confirm"><{$smarty.const._MI_AD_AD_DELETE_CONF}></div>
<br>
<form action="index.php" method="post">
<input type="hidden" name="ad_id" value="<{$app.ad.ad_id}>">
<table cellspacing="1" class="outer">
<tr class="even">
	<th>ID</th>
	<td><{$form.ad_id}>(<{$smarty.const._REGISTER}>:<{"Y-m-d H:i"|date:$app.ad.ad_regtime}>)</td>
</tr>
<tr class="even">
	<th><{form_name name="ad_clid"}></th>
	<td><{labelvalue name="ad_clid"}></td>
</tr>
<tr class="odd">
	<th><{form_name name="ad_type"}></th>
	<td><{labelvalue name="ad_type"}></td>
</tr>
<tr class="even">
	<th><{form_name name="ad_name"}></th>
	<td><{$form.ad_name}></td>
</tr>
<tr class="odd">
	<th><{form_name name="ad_destination"}></th>
	<td><{$form.ad_destination}></td>
</tr>
<tr class="even">
	<th><{form_name name="ad_start_date"}></th>
	<td><{"Y-n-j H:i"|date:$form.ad_start}></td>
</tr>
<tr class="odd">
	<th><{form_name name="ad_stop_date"}></th>
	<td><{"Y-n-j H:i"|date:$form.ad_stop}></td>
</tr>
<tr class="even">
	<th><{form_name name="ad_show_max"}></th>
	<td><{$form.ad_show_max}>(<{$smarty.const._MI_AD_AF_ad_show_num}>: <{$app.ad.ad_show_num}>)</td>
</tr>
<tr class="odd">
	<th><{form_name name="ad_click_max"}></th>
	<td><{$form.ad_click_max}>(<{$smarty.const._MI_AD_AF_ad_click_num}>:<{$app.ad.ad_click_num}>)</td>
</tr>
<tr class="odd">
	<th><{form_name name="ad_image"}></th>
	<td><img src="<{$app.image_path}>/<{$form.ad_image}>"></td>
</tr>
<tr class="even">
	<th><{form_name name="ad_text"}></th>
	<td><{$form.ad_text|nl2br}></td>
</tr>
<{*
<tr class="odd">
	<th><{form_name name="ad_isflash"}></th>
	<td><{$form.ad_isflash}></td>
</tr>
*}>
<tr class="odd">
	<th><{form_name name="ad_status"}></th>
	<td><{if $form.ad_status==0}><{$smarty.const._MI_AD_ADSTATUS_INVALID}><{else}><{$smarty.const._MI_AD_ADSTATUS_VALID}><{/if}></td>
</tr>
<tr class="even">
	<th><{form_name name="ad_memo"}></th>
	<td><{$form.ad_memo|nl2br}></td>
</tr>
<tr class="foot">
	<td colspan="2">
	<input type="submit" name="action_admin_admanage_advertise_delete_do" value="<{$smarty.const._DELETE}>">
	</td>
</tr>
</table>
</form>
